package com.boot2.core.echarts;


import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
* @author zhangweilin
* @date 2019/3/14 11:57 
* @description: 百度echart报表整体数据结构
*/
@Data
public class EchartData {
	
	private String subtext;

	/**
	 * 数据分组
	 */
	private List<String> legendList = new ArrayList<String>();
	/**
	 * 横坐标
	 */
	private List<String> categoryList = new ArrayList<String>();
	/**
	 * 纵坐标
	 */
	private List<Series> serieList = new ArrayList<Series>();
	
	
	public EchartData(List<String> legendList, List<String> categoryList, List<Series> serieList,String subtext) {
		this.legendList = legendList;
		this.categoryList = categoryList;
		this.serieList = serieList;
		this.subtext = subtext;
	}
	
}

